package com.cc.entity;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Book implements Serializable {
    private static final long serialVersionUID = -2725240256743009930L;


        private Integer id;
        private String bookName;
        private String author;
        private Date publicationDate;
        private Integer price;
        private Integer categoryId;
        private BookCategory category; // 关联的类别对象
}
